import React, { Component } from 'react'
import './style.less'
import LoginLogo from '../../../../components/LoginComponent/LoginLogo'
import LoginForm from '../../../../components/LoginComponent/LoginForm'
import LoginOther from '../../../../components/LoginComponent/LoginOther'
import Mark from '../../../../static/icon/mark.png'
import {Link} from 'react-router-dom'

export default class Login extends Component{
  render(){
    return(
      <div className='login'>
        <LoginLogo />
        <LoginForm history={this.props.history}/>
        <LoginOther />
        <Link to='/'>
          <button className='mark'>
            <img src={Mark} alt='' />
          </button>
        </Link>
      </div>
    )
  }
}
